FROM nginx:1.20
LABEL maintainer="sme@www.sme.com"
WORKDIR /opt/app
SHELL ["/bin/bash", "-c"]
COPY dist /usr/share/nginx/html
COPY ./entrypoint.sh ./entrypoint.sh
RUN  chmod u+x ./entrypoint.sh 
ENTRYPOINT ./entrypoint.sh
EXPOSE 80